import request from '@/utils/request.js'

const prevUrl = '/rfid/';

export default {

    // 查询
    list() {
        return request({
            url: `${prevUrl}list`,
            method: 'get'
        })
    },
    // 读取
    inventory(uuid) {
        return request({
            url: `${prevUrl}inventory/${uuid}`,
            method: 'put'
        })
    },
    // 读取
    stopInventory(uuid) {
        return request({
            url: `${prevUrl}stopInventory/${uuid}`,
            method: 'put'
        })
    },
}

